[INFO] cloning repository https://github.com/martin-bucinskas/yggd-core
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/martin-bucinskas/yggd-core" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmartin-bucinskas%2Fyggd-core", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmartin-bucinskas%2Fyggd-core'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 8a517f3b614ac5bfd0289784441b6a0b619fb9d1
[INFO] documenting martin-bucinskas/yggd-core against nightly+rustdocflags=-Zunstable-options -wjson for pr-99919
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmartin-bucinskas%2Fyggd-core" "/workspace/builds/worker-7/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/martin-bucinskas/yggd-core on toolchain nightly
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+nightly" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/martin-bucinskas/yggd-core
[INFO] finished tweaking git repo https://github.com/martin-bucinskas/yggd-core
[INFO] tweaked toml for git repo https://github.com/martin-bucinskas/yggd-core written to /workspace/builds/worker-7/source/Cargo.toml
[INFO] crate git repo https://github.com/martin-bucinskas/yggd-core already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+nightly" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 4b42ba9733031a2627ad4650b30f121b9bb1305937da0793fb69d1ff6927b8af
[INFO] running `Command { std: "docker" "start" "-a" "4b42ba9733031a2627ad4650b30f121b9bb1305937da0793fb69d1ff6927b8af", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "4b42ba9733031a2627ad4650b30f121b9bb1305937da0793fb69d1ff6927b8af", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4b42ba9733031a2627ad4650b30f121b9bb1305937da0793fb69d1ff6927b8af", kill_on_drop: false }`
[INFO] [stdout] 4b42ba9733031a2627ad4650b30f121b9bb1305937da0793fb69d1ff6927b8af
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow -Zunstable-options -wjson" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] ac016753e9c64f3effe2712632c95b727c0b8f34bd6c327807508199267c0f67
[INFO] running `Command { std: "docker" "start" "-a" "ac016753e9c64f3effe2712632c95b727c0b8f34bd6c327807508199267c0f67", kill_on_drop: false }`
[INFO] [stderr]  Documenting yggd-core v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: environment variable `KEY_ID` not defined
[INFO] [stdout]   --> src/core/yggd_bot.rs:15:36
[INFO] [stdout]    |
[INFO] [stdout] 15 |         let key_id: &'static str = env!("KEY_ID");
[INFO] [stdout]    |                                    ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `env` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: environment variable `KEY_SECRET` not defined
[INFO] [stdout]   --> src/core/yggd_bot.rs:16:40
[INFO] [stdout]    |
[INFO] [stdout] 16 |         let key_secret: &'static str = env!("KEY_SECRET");
[INFO] [stdout]    |                                        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `env` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0706]: functions in traits cannot be declared `async`
[INFO] [stdout]  --> src/core/yggd_bot.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 |     async fn place_sell_order(&self, symbol: Box<str>, qty: u32, order_type: OrderType, time_in_force: TimeInForce, limit_price: f64) -> Result<Order, Error>;
[INFO] [stdout]   |     -----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |     |
[INFO] [stdout]   |     `async` because of this
[INFO] [stdout]   |
[INFO] [stdout]   = note: `async` trait functions are not currently supported
[INFO] [stdout]   = note: consider using the `async-trait` crate: https://crates.io/crates/async-trait
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0706]: functions in traits cannot be declared `async`
[INFO] [stdout]   --> src/core/yggd_bot.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 |     async fn place_buy_order(&self, symbol: Box<str>, qty: u32, order_type: OrderType, time_in_force: TimeInForce, limit_price: f64) -> Result<Order, Error>;
[INFO] [stdout]    |     -----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     `async` because of this
[INFO] [stdout]    |
[INFO] [stdout]    = note: `async` trait functions are not currently supported
[INFO] [stdout]    = note: consider using the `async-trait` crate: https://crates.io/crates/async-trait
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0706]: functions in traits cannot be declared `async`
[INFO] [stdout]   --> src/core/yggd_bot.rs:45:5
[INFO] [stdout]    |
[INFO] [stdout] 45 |       async fn place_sell_order(&self, symbol: Box<str>, qty: u32, order_type: OrderType, time_in_force: TimeInForce, limit_price: f64) -> ...
[INFO] [stdout]    |       ^----
[INFO] [stdout]    |       |
[INFO] [stdout]    |  _____`async` because of this
[INFO] [stdout]    | |
[INFO] [stdout] 46 | |         let order = Order::sell(symbol.as_ref(), qty, order_type, time_in_force)
[INFO] [stdout] 47 | |             .limit_price(limit_price)
[INFO] [stdout] 48 | |             .place(&self.client).await.unwrap();
[INFO] [stdout] 49 | |         Result::Ok(order)
[INFO] [stdout] 50 | |     }
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `async` trait functions are not currently supported
[INFO] [stdout]    = note: consider using the `async-trait` crate: https://crates.io/crates/async-trait
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0706]: functions in traits cannot be declared `async`
[INFO] [stdout]   --> src/core/yggd_bot.rs:52:5
[INFO] [stdout]    |
[INFO] [stdout] 52 |       async fn place_buy_order(&self, symbol: Box<str>, qty: u32, order_type: OrderType, time_in_force: TimeInForce, limit_price: f64) -> R...
[INFO] [stdout]    |       ^----
[INFO] [stdout]    |       |
[INFO] [stdout]    |  _____`async` because of this
[INFO] [stdout]    | |
[INFO] [stdout] 53 | |         let order = Order::sell(symbol.as_ref(), qty, order_type, time_in_force)
[INFO] [stdout] 54 | |             .limit_price(limit_price)
[INFO] [stdout] 55 | |             .place(&self.client).await.unwrap();
[INFO] [stdout] 56 | |         Result::Ok(order)
[INFO] [stdout] 57 | |     }
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `async` trait functions are not currently supported
[INFO] [stdout]    = note: consider using the `async-trait` crate: https://crates.io/crates/async-trait
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: Compilation failed, aborting rustdoc
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 7 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0706`.
[INFO] [stdout] 
[INFO] [stderr] error: could not document `yggd-core`
[INFO] [stderr] 
[INFO] [stderr] Caused by:
[INFO] [stderr]   process didn't exit successfully: `rustdoc --edition=2018 --crate-type bin --crate-name yggd_core src/main.rs -o /opt/rustwide/target/doc --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --document-private-items '-Arustdoc::private-intra-doc-links' -C metadata=f4f62adf5de661bc -L dependency=/opt/rustwide/target/debug/deps --extern alpaca_finance=/opt/rustwide/target/debug/deps/libalpaca_finance-e889d82b3afef001.rmeta --extern tokio=/opt/rustwide/target/debug/deps/libtokio-23c04e301a9674db.rmeta --cap-lints=allow -Zunstable-options -wjson --crate-version 0.1.0` (exit status: 1)
[INFO] running `Command { std: "docker" "inspect" "ac016753e9c64f3effe2712632c95b727c0b8f34bd6c327807508199267c0f67", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ac016753e9c64f3effe2712632c95b727c0b8f34bd6c327807508199267c0f67", kill_on_drop: false }`
[INFO] [stdout] ac016753e9c64f3effe2712632c95b727c0b8f34bd6c327807508199267c0f67
